<!DOCTYPE html>
<html>
<head>
    <title>首页</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <!--本客服的操作客户记录列表 -->
    <div id="hp" v-show="hp">
        <div  id="select_panel">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">查询条件</h3>
                </div>
                <div class="grid-btn panel-body">
                    <form class="form-horizontal" style="width: auto " role="form" id="recharge">
                        <div class="form-group">
                            <label class="col-md-1 control-label">通话时间</label>
                            <div class="col-md-2">
                                <input type="text"  class="form-control" v-model="query.startDate"
                                       id="startDate" name="startDate"
                                       placeholder="开始时间"
                                       onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                            </div>
                            <div class="col-md-2"  >
                                <input type="text" class="form-control" v-model="query.endDate"
                                       id="endDate" placeholder="结束时间" name="endDate"
                                       onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                            </div>

                            <label class="col-md-1 control-label">呼叫类型</label>
                            <div class="col-md-1">
                                <select class="form-control" id="type" v-model="query.type" name="type" style="width: 80px">
                                    <option value="0">全部</option>
                                    <option value="1">呼入</option>
                                    <option value="2">呼出</option>
                                </select>
                            </div>

                            <label class="col-md-1 control-label">客户ID</label>
                            <div class="col-md-1">
                                <input type="text" class="form-control" v-model="query.cusId" name="cusId" />
                            </div>
                            <div class="col-md-1" >
                                <button type="button" class="btn btn-primary " @click="query01">查询</button>
                            </div>
                            <div class="col-md-2"></div>
                        </div>
                    </form>
                </div>
                </div>
            </div>
            <div class="panel panel-primary">
                <div class="panel-body">
                    <table id="jqGrid"></table>
                    <div id="jqGridPager"></div>
                </div>
        </div>
    </div>


    <div id="detail" v-show="detail" >
        <div class="panel panel-primary">
         <form class="form-horizontal"  role="form" >
              <div class="form-group">
                    <div class="col-md-1">
                        <input type="button"  class="btn btn-primary" VALUE="返回" @click="backToList()"/>
                    </div>
                  <div class="col-md-11">
                  </div>
                </div>
            </form>
            <div class="panel-body" style="width: auto">
                <table id="jqGridDetail"></table>
                <div id="jqGridPagerDetail"></div>
            </div>
        </div>
    </div>

</div>


<script src="${rc.contextPath}/js/customerService/css_homePage.js?_${date.systemTime}"></script>
<script src="${rc.contextPath}/js/formatter.js?_${date.systemTime}"></script>
<script language="javascript" type="text/javascript"
        src="${rc.contextPath}/statics/plugins/My97DatePicker4.7.2/WdatePicker.js"></script>
</div>
</body>
</html>